package com.wyc.alipay.service;

import com.wyc.alipay.remote.OrderFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlipayService {

    @Autowired
    private OrderFeignClient orderFeignClient;

    /**
     * 支付完成
     * @param orderId
     */
    public void pay(Long orderId) {
        orderFeignClient.pay(orderId);
    }
}
